package com.example.othree.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.othree.entity.PollutionHistoryDataJjjSitesDay;
import com.example.othree.entity.WeatherHistoryData;

import java.util.HashMap;
import java.util.List;

public interface PollutionHistoryDataJjjSitesDayMapper extends BaseMapper<PollutionHistoryDataJjjSitesDay> {
    List<PollutionHistoryDataJjjSitesDay> tolist();

    List<HashMap<String, String>> pollutionForSiteByAvea(String startTime, String endTime, String element, String[] cities);
    List<HashMap<String, String>>pollutionForSiteByEvery(String startTime, String endTime, String element, String[] cities);
    IPage pollutionPageList(IPage<HashMap<String, String>> page,
                                  String[] cities,
                                  String[] elements,
                                  String startTime, String endTime);
    List<HashMap<String, String>> pollutionAnalyzeDataByTime(String startTime, String endTime, String[] stations);
}
